package com.lanchetech.bean.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.lanchetech.bean.vo.RushOrderVO;
import com.lanchetech.bean.vo.SkuItemVO;
import com.lanchetech.entity.Sku;
import com.lanchetech.entity.Spu;
import com.lanchetech.entity.SpuCommission;
import com.lanchetech.entity.SpuCourierAmount;
import com.lanchetech.entity.*;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * user
 *
 * @author
 */
@Data
@JsonIgnoreProperties({"handler"})
public class SpuResp extends Spu {
    BigDecimal discountAmount = BigDecimal.ZERO;
    String categoryTitle;
    String brandName;
    String freightName;
    /**
     * 好评数
     */
    Integer commentGood;
    /**
     * 评论总数
     */
    Integer commentTotal;
    SpuCommission spuCommission;
    List<Sku> skuList;

    SpuCourierAmount spuCourierAmount;

    String shopNickname;
    String shopAvatar;

    private CommentStatistics commentStatistics;
    BigDecimal shopStar;

    /*
    总库存
     */
    Integer totalStock;
    /*
    浏览量
     */
    Long pv;

    String scThirdTitle;

    List<RushOrderVO> rushOrderVOList;

    BigDecimal partnerPrice;
    BigDecimal vipPrice;

    Boolean isAnchorWindows;
    String storeRankTag;//店铺排行标签

    /**
     * 分享赚最高可得佣金
     */
    private BigDecimal shareMaxPrice = BigDecimal.ZERO;
    /**
     * 分享赚最高可得嗨币
     */
    private BigDecimal shareHiCoinMaxPrice = BigDecimal.ZERO;
    /**
     * 是否为分享赚商品
     */
    private boolean share;
    /**
     * 是否已绑定其他分享赚
     */
    private boolean bind;
    /**
     * 分享赚ID
     */
    private long shareActivityId;
    /**
     * 分享赚标题
     */
    private String bindTitle;
    List<SkuItemVO> skuItemVOS;

    Long activityId;
    String activityType;

    /**
     * 消费金抵扣金额
     */
    private BigDecimal deduction = BigDecimal.ZERO;
}